<?php
session_start(); 
if(!isset($_SESSION['userName'])){
header( 'location:../../index.php' ); 
}
	include("../../conf/connect.php");
	$serial=$_GET['serial'];
	$hid = $_GET['hid']; 
	$user_id =$_SESSION['user_id'];
	$bid = $_GET['bid'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title></title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="../../style.css" media="screen" />
	<link rel="shortcut icon" href="../images/favicon.ico" />
</head>
<body class="iub_back">
<?php
		if($bid ==4)
			$sql = "SELECT * FROM household_info WHERE  hid='$hid'" ;
			$result = mysql_query($sql);
			while($row = mysql_fetch_array($result)){
?>
<?php if($serial=='q10'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Human/Animal Waste :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="hc01_1">
							<option <?php if($row['hc01_1']==01){?> selected="selected"<?php }?> value="01">Yes</option>
							<option <?php if($row['hc01_1']==03){?> selected="selected"<?php }?> value="03">No</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q11'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Natural Waste :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="hc01_2">
							<option <?php if($row['hc01_2']==01){?> selected="selected"<?php }?> value="01">Yes</option>
							<option <?php if($row['hc01_2']==03){?> selected="selected"<?php }?> value="03">No</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q12'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Cowshed Nearby :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="hc01_3">
							<option <?php if($row['hc01_3']==01){?> selected="selected"<?php }?> value="01">Yes</option>
							<option <?php if($row['hc01_3']==03){?> selected="selected"<?php }?> value="03">No</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q13'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Household Clean :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="hc01_4">
							<option <?php if($row['hc01_4']==01){?> selected="selected"<?php }?> value="01">Yes</option>
							<option <?php if($row['hc01_4']==03){?> selected="selected"<?php }?> value="03">No</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q14'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">MBed room floor type :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="hc05">
							<option <?php if($row['hc05']==01){?> selected="selected"<?php }?>value="01">01-Pucca</option>
							<option <?php if($row['hc05']==02){?> selected="selected"<?php }?>value="02">02-Mud</option>
							<option <?php if($row['hc05']==03){?> selected="selected"<?php }?>value="03">03-Wood</option>
							<option <?php if($row['hc05']==04){?> selected="selected"<?php }?>value="04">04-Bamboo</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q15'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">MBed room wall type :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="hc06">
							<option <?php if($row['hc06']==01){?> selected="selected"<?php }?>value="01">01-Pucca</option>
							<option <?php if($row['hc06']==02){?> selected="selected"<?php }?>value="02">02-Tin</option>
							<option <?php if($row['hc06']==03){?> selected="selected"<?php }?>value="03">03-Mud</option>
							<option <?php if($row['hc06']==04){?> selected="selected"<?php }?>value="04">04-Wood</option>
							<option <?php if($row['hc06']==05){?> selected="selected"<?php }?>value="05">05-Bamboo</option>
							<option <?php if($row['hc06']==06){?> selected="selected"<?php }?>value="06">06-Straw</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q16'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">MBed room wall type :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="hc07">
							<option <?php if($row['hc07']==01){?> selected="selected"<?php }?>value="01">01-Pucca</option>
							<option <?php if($row['hc07']==02){?> selected="selected"<?php }?>value="02">02-Tin</option>
							<option <?php if($row['hc07']==03){?> selected="selected"<?php }?>value="03">03-Bamboo</option>
							<option <?php if($row['hc07']==04){?> selected="selected"<?php }?>value="04">04-Straw</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q17'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">House Electrified :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="hc08">
							<option <?php if($row['hc08']==1){?> selected="selected"<?php }?> value="1">Yes</option>
							<option <?php if($row['hc08']==3){?> selected="selected"<?php }?> value="3">No</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q18'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Village Electrified :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="hc09">
							<option <?php if($row['hc09']==1){?> selected="selected"<?php }?> value="1">1</option>
							<option <?php if($row['hc09']==3){?> selected="selected"<?php }?> value="3">3</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q19'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">House Status :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="hc02">
							<option <?php if($row['hc02']==1){?> selected="selected"<?php }?> value="1">1-Own Home</option>
							<option <?php if($row['hc02']==2){?> selected="selected"<?php }?> value="2">2-Other's Home</option>
							<option <?php if($row['hc02']==3){?> selected="selected"<?php }?> value="3">3-Rented Home</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>

<?php if($serial=='q22'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">House Status :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="hc10">
							<option <?php if($row['hc10']==01){?> selected="selected"<?php }?>value="01">01-Tap</option>
							<option <?php if($row['hc10']==02){?> selected="selected"<?php }?>value="02">02-TubeWel</option>
							<option <?php if($row['hc10']==03){?> selected="selected"<?php }?>value="03">03-Well</option>
							<option <?php if($row['hc10']==04){?> selected="selected"<?php }?>value="04">04-Pond</option>
							<option <?php if($row['hc10']==05){?> selected="selected"<?php }?>value="05">05-Canal</option>
							<option <?php if($row['hc10']==06){?> selected="selected"<?php }?>value="06">06-River</option>
							<option <?php if($row['hc10']==07){?> selected="selected"<?php }?>value="07">07-Rain</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q23'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Source Place :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="hc11">
							<option <?php if($row['hc11']==1){?> selected="selected"<?php }?> value="1">1-Inside Household</option>
							<option <?php if($row['hc11']==2){?> selected="selected"<?php }?> value="2">2-Inside House</option>
							<option <?php if($row['hc11']==3){?> selected="selected"<?php }?> value="3">3-Outside</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q24'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Source Place :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['hc12'];?>" name="hc12" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q25'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">House Status :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="hc13">
							<option <?php if($row['hc13']==01){?> selected="selected"<?php }?>value="01">01-Tap</option>
							<option <?php if($row['hc13']==02){?> selected="selected"<?php }?>value="02">02-TubeWel</option>
							<option <?php if($row['hc13']==03){?> selected="selected"<?php }?>value="03">03-Well</option>
							<option <?php if($row['hc13']==04){?> selected="selected"<?php }?>value="04">04-Pond</option>
							<option <?php if($row['hc13']==05){?> selected="selected"<?php }?>value="05">05-Canal</option>
							<option <?php if($row['hc13']==06){?> selected="selected"<?php }?>value="06">06-River</option>
							<option <?php if($row['hc13']==07){?> selected="selected"<?php }?>value="07">07-Rain</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q26'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Source Place :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="hc14">
							<option <?php if($row['hc14']==1){?> selected="selected"<?php }?> value="1">1-Inside Household</option>
							<option <?php if($row['hc14']==2){?> selected="selected"<?php }?> value="2">2-Inside House</option>
							<option <?php if($row['hc14']==3){?> selected="selected"<?php }?> value="3">3-Outside</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q27'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Source Place :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['hc15'];?>" name="hc15" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q28'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Main Fuel :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="hc16">
							<option <?php if($row['h16']=='1'){?> selected="selected"<?php }?>  value="1">1-Kerosine</option>
							<option <?php if($row['h16']=='2'){?> selected="selected"<?php }?>  value="2">2-Charcoal</option>
							<option <?php if($row['h16']=='3'){?> selected="selected"<?php }?>  value="3">3-Coal</option>
							<option <?php if($row['h16']=='4'){?> selected="selected"<?php }?>  value="4">4-Gas</option>
							<option <?php if($row['h16']=='5'){?> selected="selected"<?php }?>  value="5">5-Wood</option>
							<option <?php if($row['h16']=='6'){?> selected="selected"<?php }?>  value="6">6-Agri. Waste</option>
							<option <?php if($row['h16']=='7'){?> selected="selected"<?php }?>  value="7">7-Electricity</option>
							<option <?php if($row['h16']=='8'){?> selected="selected"<?php }?>  value="8">8-Cow Dung</option>
							<option <?php if($row['h16']=='9'){?> selected="selected"<?php }?>  value="9">9-Leaf</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q29'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Cooking Place :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="hc17">
							<option <?php if($row['h17']=='1'){?> selected="selected"<?php }?> value="1">1-Inside House</option>
							<option <?php if($row['h17']=='2'){?> selected="selected"<?php }?> value="2">2-Outside House</option>
							<option <?php if($row['h17']=='3'){?> selected="selected"<?php }?> value="3">3-Both</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q30'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Kitchen Has:<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="hc18">
							<option <?php if($row['h18']=='1'){?> selected="selected"<?php }?> value="1">1-Window</option>
							<option <?php if($row['h18']=='2'){?> selected="selected"<?php }?> value="2">2-Chimni</option>
							<option <?php if($row['h18']=='3'){?> selected="selected"<?php }?> value="3">3-Exhost</option>
							<option <?php if($row['h18']=='4'){?> selected="selected"<?php }?> value="4">4-Connected outside</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q31'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Duration of Cooking Outside :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" name="h19" value="<?php echo $row['h19'];?>" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q32'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Type of Latrine :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="h20_1">
							<option <?php if($row['h20_01']=='1'){?> selected="selected"<?php }?> value="1">1-Septic Latrin</option>
							<option <?php if($row['h20_01']=='2'){?> selected="selected"<?php }?> value="2">2-Slub Latrin</option>
							<option <?php if($row['h20_01']=='3'){?> selected="selected"<?php }?> value="3">3-Pick Latrin</option>
							<option <?php if($row['h20_01']=='4'){?> selected="selected"<?php }?> value="4">4-Open Latrin</option>
							<option <?php if($row['h20_01']=='5'){?> selected="selected"<?php }?> value="5">5-Hanging Latrin</option>
							<option <?php if($row['h20_01']=='6'){?> selected="selected"<?php }?> value="6">6-Open Space</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q33'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Sandal Used :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="h21_1">
							<option <?php if($row['h21_01']=='1'){?> selected="selected"<?php }?> value="1">Yes</option>
							<option <?php if($row['h21_01']=='2'){?> selected="selected"<?php }?> value="2">No</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q34'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Sandal Used :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="h22_1">
							<option <?php if($row['h22_01']=='1'){?> selected="selected"<?php }?> value="Yes">Yes</option>
							<option <?php if($row['h22_01']=='2'){?> selected="selected"<?php }?> value="No">No</option>
							<option <?php if($row['h22_01']=='3'){?> selected="selected"<?php }?> value="Sometimes">Sometimes</option>
							<option <?php if($row['h22_01']=='4'){?> selected="selected"<?php }?> value="Never">Never</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q35'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Sandal Used :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="h23_1">
							<option <?php if($row['h23_01']=='1'){?> selected="selected"<?php }?> value="1">Yes</option>
							<option <?php if($row['h23_01']=='2'){?> selected="selected"<?php }?> value="2">No</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q36'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Wash Before Meal :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="h24">
							<option <?php if($row['h24']=='1'){?> selected="selected"<?php }?> value="1">Yes</option>
							<option <?php if($row['h24']=='2'){?> selected="selected"<?php }?> value="2">No</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q37'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Soap Used :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="h25">
							<option <?php if($row['h25']=='1'){?> selected="selected"<?php }?> value="1">Yes</option>
							<option <?php if($row['h25']=='2'){?> selected="selected"<?php }?> value="2">No</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q38'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">When Used :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="h26">
							<option <?php if($row['h26']=='1'){?> selected="selected"<?php }?>  value="1">1-Before</option>
							<option <?php if($row['h26']=='2'){?> selected="selected"<?php }?>  value="2">2-After</option>
							<option <?php if($row['h26']=='3'){?> selected="selected"<?php }?>  value="3">3-Both</option>
							<option <?php if($row['h26']=='0'){?> selected="selected"<?php }?>  value="0">0-None</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q39'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">When Used :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="h27">
							<option <?php if($row['h27']=='1'){?> selected="selected"<?php }?> value="1">1-Boiling</option>
							<option <?php if($row['h27']=='2'){?> selected="selected"<?php }?> value="2">2-Fitkiri</option>
							<option <?php if($row['h27']=='3'){?> selected="selected"<?php }?> value="3">3-Filtering(Cloth)</option>
							<option <?php if($row['h27']=='4'){?> selected="selected"<?php }?> value="2">4-Filtering(Net)</option>
							<option <?php if($row['h27']=='5'){?> selected="selected"<?php }?> value="5">5-Filtering</option>
							<option <?php if($row['h27']=='6'){?> selected="selected"<?php }?> value="6">6-Directly</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q40'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Sufferings on Food :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="h28_a_1">
							<option <?php if($row['h28_a_1']=='Altimes'){?> selected="selected"<?php }?> value="Altimes">Altimes</option>
							<option <?php if($row['h28_a_1']=='Frequently'){?> selected="selected"<?php }?> value="Frequently">Frequently</option>
							<option <?php if($row['h28_a_1']=='Sometimes'){?> selected="selected"<?php }?> value="Sometimes">Sometimes</option>
							<option <?php if($row['h28_a_1']=='Very Few'){?> selected="selected"<?php }?> value="Very Few">Very Few</option>
							<option <?php if($row['h28_a_1']=='Never'){?> selected="selected"<?php }?> value="Never">Never</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q41'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Sufferings on Clothing :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="h28_b_1">
							<option <?php if($row['h28_b_1']=='Altimes'){?> selected="selected"<?php }?> value="Altimes">Altimes</option>
							<option <?php if($row['h28_b_1']=='Frequently'){?> selected="selected"<?php }?> value="Frequently">Frequently</option>
							<option <?php if($row['h28_b_1']=='Sometimes'){?> selected="selected"<?php }?> value="Sometimes">Sometimes</option>
							<option <?php if($row['h28_b_1']=='Very Few'){?> selected="selected"<?php }?> value="Very Few">Very Few</option>
							<option <?php if($row['h28_b_1']=='Never'){?> selected="selected"<?php }?> value="Never">Never</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q42'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Sufferings on Bill Pay :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="h28_c_1">
							<option <?php if($row['h28_c_1']=='Altimes'){?> selected="selected"<?php }?> value="Altimes">Altimes</option>
							<option <?php if($row['h28_c_1']=='Frequently'){?> selected="selected"<?php }?> value="Frequently">Frequently</option>
							<option <?php if($row['h28_c_1']=='Sometimes'){?> selected="selected"<?php }?> value="Sometimes">Sometimes</option>
							<option <?php if($row['h28_c_1']=='Very Few'){?> selected="selected"<?php }?> value="Very Few">Very Few</option>
							<option <?php if($row['h28_c_1']=='Never'){?> selected="selected"<?php }?> value="Never">Never</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q43'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Sufferings on Bill Pay :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" name="h29" value="<?php echo $row['h29'];?>"
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q44'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Sufferings on Bill Pay :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" name="h30" value="<?php echo $row['h30'];?>" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q45'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Cultivatable Land :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<select name="h31">
							<option <?php if($row['h31']=='Yes'){?> selected="selected"<?php }?> value="Yes">Yes</option>
							<option <?php if($row['h31']=='No'){?> selected="selected"<?php }?> value="No">No</option>
						</select>
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q46'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Measure :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" name="h32" value="<?php echo $row['h32'];?>" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php }?>	

</body>
</html>